package caip2022p.rcv2;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] data = scanner.nextLine().split(" ");
        
        if (data[0].equals("F")) {
            System.out.println(data[1] + " NaiNai Nin Hao Ya ~");
        } else {
            System.out.println(data[1] + " YeYe Nin Hao Ya ~");
        }
    }
}
